package com.emm.yixun.poss.domain;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 员工表
 *
 */
@TableName("sys_tm_user")
public class TmUser implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 主键、自动增长 */
	@TableId(type = IdType.AUTO)
	private Long id;

	/** 唯一编码 */
	@TableField(value = "user_code")
	private String userCode;

	/** 员工名称，用于显示 */
	@TableField(value = "user_name")
	private String userName;

	/**  */
	@TableField(value = "user_account")
	private String userAccount;

	/** 员工账号密码，用于登陆 */
	@TableField(value = "user_password")
	private String userPassword;

	/** 员工手机号码，可用于登陆 */
	@TableField(value = "user_phone")
	private String userPhone;

	/** 头像图片URL */
	@TableField(value = "head_pic")
	private String headPic;

	/** 生日 */
	private Date birthday;

	/** 生日 */
	@TableField(value = "entry_time")
	private Date entryTime;

	/** 员工状态:[{key:user_status,values:[{no:0,alias:IN_USE,remark:在用},{no:1,alias:UN_USE,remark:禁用}]}] */
	@TableField(value = "user_status")
	private String userStatus;

	/** 0:否 1:是 */
	@TableField(value = "is_admin")
	private String isAdmin;

	/** 部门ID，关联部门表 */
	@TableField(value = "user_department_id")
	private Long userDepartmentId;

	/** 部门路径，用于部门数据权限控制 */
	@TableField(value = "user_department_path")
	private String userDepartmentPath;

	/** 角色ID，关联角色表 */
	@TableField(value = "role_id")
	private Long roleId;

	/** 备注 */
	private String remark;

	/** 商户ID */
	@TableField(value = "merchant_id")
	private Long merchantId;

	/** 创建人ID,关联用户表 */
	@TableField(value = "create_user_id")
	private Long createUserId;

	/** 创建时间格式：yyyy-MM-dd HH:mm:ss */
	@TableField(value = "create_time")
	private Date createTime;

	/** 修改人ID,关联用户表 */
	@TableField(value = "update_user_id")
	private Long updateUserId;

	/** 修改时间格式：yyyy-MM-dd HH:mm:ss */
	@TableField(value = "update_time")
	private Date updateTime;

	/** 是否删除:[{key:del_flag,values:[{no:0,alias:UNDEL,remark:否},{no:1,alias:DEL,remark:是}]}] */
	@TableField(value = "del_flag")
	private String delFlag;

	/** 主题skin-0，skin-1，skin-2，skin-3 */
	private String skin;

	/** 座机号 */
	@TableField(value = "user_landlines")
	private String userLandlines;


	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUserCode() {
		return this.userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserAccount() {
		return this.userAccount;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}

	public String getUserPassword() {
		return this.userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	public String getUserPhone() {
		return this.userPhone;
	}

	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}

	public String getHeadPic() {
		return this.headPic;
	}

	public void setHeadPic(String headPic) {
		this.headPic = headPic;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Date getEntryTime() {
		return this.entryTime;
	}

	public void setEntryTime(Date entryTime) {
		this.entryTime = entryTime;
	}

	public String getUserStatus() {
		return this.userStatus;
	}

	public void setUserStatus(String userStatus) {
		this.userStatus = userStatus;
	}

	public String getIsAdmin() {
		return this.isAdmin;
	}

	public void setIsAdmin(String isAdmin) {
		this.isAdmin = isAdmin;
	}

	public Long getUserDepartmentId() {
		return this.userDepartmentId;
	}

	public void setUserDepartmentId(Long userDepartmentId) {
		this.userDepartmentId = userDepartmentId;
	}

	public String getUserDepartmentPath() {
		return this.userDepartmentPath;
	}

	public void setUserDepartmentPath(String userDepartmentPath) {
		this.userDepartmentPath = userDepartmentPath;
	}

	public Long getRoleId() {
		return this.roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Long getMerchantId() {
		return this.merchantId;
	}

	public void setMerchantId(Long merchantId) {
		this.merchantId = merchantId;
	}

	public Long getCreateUserId() {
		return this.createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getUpdateUserId() {
		return this.updateUserId;
	}

	public void setUpdateUserId(Long updateUserId) {
		this.updateUserId = updateUserId;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getDelFlag() {
		return this.delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	public String getSkin() {
		return this.skin;
	}

	public void setSkin(String skin) {
		this.skin = skin;
	}

	public String getUserLandlines() {
		return this.userLandlines;
	}

	public void setUserLandlines(String userLandlines) {
		this.userLandlines = userLandlines;
	}

}
